package com.example.handle;

import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.event.binlog.iface.ITableSchemaService;
import com.event.common.model.TableSchema;
import com.example.domain.schema.mapper.TableSchemaMapper;

@Service
public class TableSchemaService implements ITableSchemaService {

    @Resource
    private TableSchemaMapper tableSchemaMapper;

    @Override
    public List<TableSchema> getTableColumns(String schema, String table) {
        return tableSchemaMapper.getTableColumns(schema, table);
    }
}
